﻿using AutoMapper;
using BCDto.TMS.WorkingCompany;
using BCEntity.TMS.WorkingCompany;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCService.MapperProfiles.TMS.WorkingCompany
{

    public class WorkingCompanyProfile : Profile
    {
        public WorkingCompanyProfile()
        {
            CreateMap<WorkingCompanyRequestDto, WorkingCompanyEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkingCompanyPutDto, WorkingCompanyEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkingCompanyDto, WorkingCompanyEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkingCompanyRequestDto, WorkingCompanyDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkingCompanyEntity, WorkingCompanyDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkingCompanyEntity, WorkingCompanyRequestDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkingCompanyDto, WorkingCompanyRequestDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }

    }
}